<?php

namespace App\Http\Controllers;

use App\Api\Helpers\ApiResponse;
use Illuminate\Http\Request;
use Jenssegers\Agent\Agent;

class ApiController extends Controller
{
    //
    use ApiResponse;

    public function __construct()
    {
        $this->agent = new Agent();
        $this->view = $this->agent->isMobile() ? 'mobile/' : '';
    }
}
